package com.by.common.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.by.common.dao.bean.Page;

import java.util.List;
import java.util.Map;

//Mapper底层  要求所有的mapper类继承该类

public interface MyBaseMapper<T> extends BaseMapper<T>,ICrud<T> {
    /**
     * @param condition
     */
    <P extends Page> List<Map> query(P condition);
}
